package com.example.ibsp_demo.service;

import com.example.ibsp_demo.pojo.entity.admin.Activity;
import com.example.ibsp_demo.pojo.entity.content.Content;
import com.example.ibsp_demo.pojo.entity.content.Partition;
import com.example.ibsp_demo.pojo.entity.message.SendBack;
import com.example.ibsp_demo.pojo.entity.message.UserFeedback;
import com.example.ibsp_demo.pojo.entity.user.User;
import java.util.List;

public interface IAdminService {

    // 1. 查询用户
    List<User> queryUsers(Integer uid);

    // 2. 封禁用户
    void banUser(Integer uid, Integer aid);

    // 3. 查询博客
    List<Content> queryContent(Integer ctid);

    // 4. 发布活动
    void publishActivity(Activity activity);

    // 5. 审核博客
    void goContent(Integer cid);

    void reviewBlog(SendBack sendBack);

    // 6. 增加分区
    void addPartition(Partition partition);

    // 7. 查看用户反馈
    List<UserFeedback> getAllFeedbacks();


    List<User> allUsers();

    void unBanUser(Integer uid, Integer aid);

    List<Content> allContent();

    List<Activity> allActivity();

    void deleteActivity(Integer id);

    List<Partition> allPartition();

    void updatePartition(Partition partition);

    void deletePartition(Integer pid);
}
